package com.zttek.videoShareProject.modules.service;

import com.zttek.videoShareProject.modules.model.User;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author CBY
 * @since 2018-07-03
 */
public interface IUserService extends IService<User> {
    /**
     * 根据用户名查找用户
     * @param userid
     * @return
     * @throws Exception
     */
	User selectUserById(Long userid)throws Exception;
	User selectUserByAccount (String account) ;
	List<User> selectUserList (int pageNum) throws Exception;




}
